<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<button id="test1">欢迎学习Layer</button>
		
		<script src="js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
		<script src="layer/layer.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			// $(function() {});
			/* layer.ready(function() {
				
			}); */
			$('#test1').click(function() {
				//layer.msg('Hello Layer!');
				//layer.msg('Hello Layer!', {time: 3000});
				//open是一个万能的弹窗方法，根据type可以弹出不同的弹窗
				var index = layer.open({
					type: 0,
					content: '弹窗的内容'
				});
			});
		</script>
	</body>
</html>
